package com.shouer.doc.ui.ordermanager.view;

import android.content.Context;

import com.shouer.doc.application.App;
import com.shouer.doc.ui.login.model.UserModel;
import com.shouer.doc.ui.neworder.model.HealthRecord;
import com.shouer.doc.ui.neworder.model.SimpleOrderModel;
import com.shouer.doc.ui.ordermanager.adapter.FinishedOrderAdapter;
import com.shouer.doc.ui.ordermanager.adapter.FinishedOrderListAdapter;
import com.shouer.doc.ui.ordermanager.adapter.InOrderAdapter;
import com.shouer.doc.ui.ordermanager.adapter.OrderInOrderListAdapter;

import java.util.List;

/**
 * Created by ZXL on 2016/11/29.
 */

public interface IOrderManagerView {

    App getApp();
    Context getContext();
    UserModel getUser();
    InOrderAdapter getOrdInOrderAdapter();
    FinishedOrderAdapter getFinishedAdapter();
    void loadOrdInOrdFailed();
    void loadFinishedOrderFailed();
    void loadHealthRecordFailed();
    void loadFinishedHealthRecordFailed();
    void refreshOrdInOrdList(List<SimpleOrderModel> orderModels);
    void attachOrdIOrdList(List<SimpleOrderModel> orderModels);
    void refreshFinishedOrdList(List<SimpleOrderModel> orderModels);
    void attachFinishedOrdList(List<SimpleOrderModel> orderModels);
    void refreshHealthRecordList(List<HealthRecord> healthRecords);
    void attachHealthRecordList(List<HealthRecord> healthRecords);
    void refreshFinishedHealthRecordList(List<HealthRecord> healthRecords);
    void attachFinishedHealthRecordList(List<HealthRecord> healthRecords);
    void refreshUnReadCount(SimpleOrderModel orderModel);
    void onOrderInOrderItemClick(SimpleOrderModel orderModel);
    void refreshOrdItem(SimpleOrderModel orderModel);
    void refreshUnReadCount(String orderId,int count);
}
